import java.util.Arrays;
import java.util.Scanner;

/**
 * @Author admin
 * @Date 2019/4/17 10:29
 */
public class Test {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int n=in.nextInt();
        int m=in.nextInt();
        int[] a = new int[n];
        for (int i=0;i<a.length;i++){
            a[i]=in.nextInt();
        }
        Arrays.sort(a);

    }
}
